package us.lithub.data;

/**
 * The Book class represents an instance of a book and all associated data
 */
public class Book {
	
	/** The Constant AUTHOR_TEXT. (used for hash map key) */
	public static final String AUTHOR_TEXT = "AuthorsText";
	
	/** The Constant TITLE. (used for hash map key) */
	public static final String TITLE = "Title";
	
	/** The Constant TITLE_LONG. (used for hash map key) */
	public static final String TITLE_LONG = "TitleLong";
	
	/** The Constant ISBN. (used for hash map key) */
	public static final String ISBN = "isbn";
	
	/** The Constant PUBLISHER_TEXT. (used for hash map key) */
	public static final String PUBLISHER_TEXT = "PublisherText";
	
	/** The Constant SUMMARY. (used for hash map key) */
	public static final String SUMMARY = "Summary";
	
	/** The Constant UPC. (used for hash map key) */
	public static final String UPC = "UPC";
	
	/** The Constant STATUS. (used for hash map key) */
	public static final String STATUS = "status";
	
	/** The amazon rating. */
	private int amazonRating;
	
	/** The my rating. */
	private float myRating;
	
	/** The status. */
	private int status;
	
	/** The date published. */
	private long datePublished;
	
	/** The is favorite. */
	private boolean isFavorite;
	
	/** The amazon url. */
	private String amazonURL;
	
	/** The author. */
	private String author;
	
	/** The publisher. */
	private String publisher;
	
	/** The summary. */
	private String summary;
	
	/** The isbn. */
	private String isbn;
	
	/** The upc. */
	private String upc;
	
	/** The title. */
	private String title;
	
	/** The version. */
	private String version;
	
	/** The user id. */
	private int userID;
	
	/** The owner id. */
	private int ownerID;
	
	/**
	 * Instantiates a new book.
	 */
	public Book() {
		
	}

	/**
	 * Gets the amazon rating.
	 *
	 * @return the amazon rating
	 */
	public int getAmazonRating() {
		return amazonRating;
	}

	/**
	 * Sets the amazon rating.
	 *
	 * @param amazonRating the new amazon rating
	 */
	public void setAmazonRating(int amazonRating) {
		this.amazonRating = amazonRating;
	}

	/**
	 * Gets the my rating.
	 *
	 * @return the my rating
	 */
	public float getMyRating() {
		return myRating;
	}

	/**
	 * Sets the my rating.
	 *
	 * @param myRating the new my rating
	 */
	public void setMyRating(float myRating) {
		this.myRating = myRating;
	}

	/**
	 * Gets the status.
	 *
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * Sets the status.
	 *
	 * @param status the new status
	 */
	public void setStatus(int status) {
		this.status = status;
	}

	/**
	 * Sets the publisher.
	 *
	 * @param publisher the new publisher
	 */
	public void setPublisher(String publisher){
		this.publisher = publisher;
	}
	
	/**
	 * Gets the publisher.
	 *
	 * @return the publisher
	 */
	public String getPublisher(){
		return this.publisher;
	}
	
	/**
	 * Sets the summary.
	 *
	 * @param summary the new summary
	 */
	public void setSummary(String summary){
		this.summary = summary;
	}
	
	/**
	 * Gets the summary.
	 *
	 * @return the summary
	 */
	public String getSummary(){
		return this.summary;
	}
	
	/**
	 * Gets the date published.
	 *
	 * @return the date published
	 */
	public long getDatePublished() {
		return datePublished;
	}

	/**
	 * Sets the date published.
	 *
	 * @param datePublished the new date published
	 */
	public void setDatePublished(long datePublished) {
		this.datePublished = datePublished;
	}

	/**
	 * Checks if is favorite.
	 *
	 * @return true, if is favorite
	 */
	public boolean isFavorite() {
		return isFavorite;
	}

	/**
	 * Sets the favorite.
	 *
	 * @param isFavorite the new favorite
	 */
	public void setFavorite(boolean isFavorite) {
		this.isFavorite = isFavorite;
	}

	/**
	 * Gets the amazon url.
	 *
	 * @return the amazon url
	 */
	public String getAmazonURL() {
		return amazonURL;
	}

	/**
	 * Sets the amazon url.
	 *
	 * @param amazonURL the new amazon url
	 */
	public void setAmazonURL(String amazonURL) {
		this.amazonURL = amazonURL;
	}

	/**
	 * Gets the author.
	 *
	 * @return the author
	 */
	public String getAuthor() {
		return author;
	}

	/**
	 * Sets the author.
	 *
	 * @param author the new author
	 */
	public void setAuthor(String author) {
		this.author = author;
	}

	/**
	 * Gets the isbn.
	 *
	 * @return the isbn
	 */
	public String getIsbn() {
		return isbn;
	}

	/**
	 * Sets the isbn.
	 *
	 * @param isbn the new isbn
	 */
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	/**
	 * Gets the upc.
	 *
	 * @return the upc
	 */
	public String getUpc() {
		return upc;
	}

	/**
	 * Sets the upc.
	 *
	 * @param upc the new upc
	 */
	public void setUpc(String upc) {
		this.upc = upc;
	}

	/**
	 * Gets the title.
	 *
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * Sets the title.
	 *
	 * @param title the new title
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * Gets the version.
	 *
	 * @return the version
	 */
	public String getVersion() {
		return version;
	}

	/**
	 * Sets the version.
	 *
	 * @param version the new version
	 */
	public void setVersion(String version) {
		this.version = version;
	}
	
	/**
	 * Gets the user id.
	 *
	 * @return the user id
	 */
	public int getUserID() {
		return userID;
	}

	/**
	 * Sets the user id.
	 *
	 * @param userID the new user id
	 */
	public void setUserID(int userID) {
		this.userID = userID;
	}

	/**
	 * Gets the owner id.
	 *
	 * @return the owner id
	 */
	public int getOwnerID() {
		return ownerID;
	}

	/**
	 * Sets the owner id.
	 *
	 * @param ownerID the new owner id
	 */
	public void setOwnerID(int ownerID) {
		this.ownerID = ownerID;
	}
}
